package com.onpositive.gamemaker.editor;

import com.onpositive.gamemaker.treeview.DirectoryView;

public class GameEditorConstants
{
	public static final String DIRECTORY_VIEW_ID = DirectoryView.ID;
	public static final String MAPEDITOR_ID = "com.onpositive.gamemaker.editor.MapEditor";
	public static final String SPRITEEDITOR_ID = "com.onpositive.gamemaker.spriteeditor.SpriteEditor";
	
	public static final String[] SPRITE_TYPES = new String[] {"basic"};
	
	public static int getTypeIndex(String type)
	{
		for (int i = 0; i < SPRITE_TYPES.length; i++)
		{
			if (SPRITE_TYPES[i].equalsIgnoreCase(type))
				return i;
		}
		return -1;
	}
}
